display: Move GL selection code into gdkdisplay-x11.c
authorBenjamin Otte <otte@redhat.com>
Tue, 13 Jul 2021 03:23:41 +0000 (05:23 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:28:16 +0000 (16:28 +0200)
commit6b8bc834203b6a3a6fa952d2b55b4380840b60f6
tree89e374105bdec4b2cd75f5c78d4b35e7d3ce3c56
parent30aaab5c6c6d25e3eb48a97f62fff4007e5baeaf
display: Move GL selection code into gdkdisplay-x11.c

This has the benefit that we can refactor it and make sure we deal with
GdkDisplay::init_gl() not being called at all because
GDK_DEBUG=gl-disable had been specified.
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkglcontext-x11.c
gdk/x11/gdkglcontext-x11.h